const router = require ("koa-router")();
const MembersModel = require("../../models/Members");
router.get("/m1/delete",async ctx=>{
    let {id} = ctx.query;
    console.log(id);
    await MembersModel.remove({
        _id:id
    });
    ctx.redirect("/");
})
module.exports = router;